//
//  GYHeaderView.m
//  DeDao
//
//  Created by XMG on 16/10/13.
//  Copyright © 2016年 YP. All rights reserved.
//

#import "GYHeaderView.h"

@interface GYHeaderView ()
@property (weak, nonatomic) IBOutlet UIButton *iconImage;
@property (weak, nonatomic) IBOutlet UILabel *userName;

@end

@implementation GYHeaderView

- (void)setUserItem:(GYUserItem *)userItem
{
    
}
+ (instancetype)headerView
{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] firstObject];
}



- (void)awakeFromNib
{
    [super awakeFromNib];
    self.iconImage.layer.cornerRadius = 40;
    self.iconImage.layer.masksToBounds = YES;
}

@end
